﻿namespace NuGetCop.MSBuild.Tasks
{
    using System.Collections.Generic;
    using System.Diagnostics.Contracts;
    using NuGetCop.MSBuild.Tasks.Contracts;

    [ContractClass(typeof(ContractForINuGetPackageCheckResultAggregator))]
    internal interface INuGetPackageCheckResultAggregator
    {
        INuGetPackageCheckResult Aggregate(
            ICollection<INuGetPackageCheckResult> checkResults,
            INuGetPackageRepository packageRepository);
    }
}